package cn.iocoder.yudao.module.design.controller.admin.probleminnerrel.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 问题间关联 Excel VO
 *
 * @author czw
 */
@Data
public class ProblemInnerRelExcelVO {

    @ExcelProperty("ID")
    private Long id;

    @ExcelProperty("房屋id")
    private Long houseId;

    @ExcelProperty("流程id")
    private Long flowId;

    @ExcelProperty("节点id")
    private Long nodeId;

    @ExcelProperty("问题id")
    private Long problemId;

    @ExcelProperty("关联问题id")
    private Long relProblemId;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty(value = "依赖类型 ", converter = DictConvert.class)
    @DictFormat("depend_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String dependType;

}
